package org.example.fastproject.web.sys.model;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author 王海舟
 * @since 2023-01-16 11:48:46
 */
@Getter
@Setter
@TableName("sys_user")
@ApiModel(value = "SysUser对象", description = "用户表")
public class SysUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户id")
    private Long id;

    @ApiModelProperty("用户名")
    private String name;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("身份证号码")
    private String idCart;

    @ApiModelProperty("头像")
    private String icon;

    @ApiModelProperty("昵称")
    private String nickname;

    @ApiModelProperty("邮箱")
    private String mail;

    @ApiModelProperty("电话号码")
    private String phone;

    @ApiModelProperty("组织id")
    private Long organizationId;

    @ApiModelProperty("备注")
    private String remarks;

    @ApiModelProperty("登录时间")
    private Date loginTime;

    @ApiModelProperty("创建者id")
    private Long createUser;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新者id")
    private Long updateUser;

    @ApiModelProperty("更新时间")
    private Date updateTime;


}
